package pl.edu.agh.gronoMining.resultAnalyzer.resultNormalizer.graph;

public class Vertex {
	
	private int id;
	private int label;
	
	public Vertex(int id, int label) {
		this.id = id;
		this.label = label;
	}
	
	public int getId() {
		return this.id;
	}
	
	public int getLabel() {
		return this.label;
	}
	
	public boolean equals(Object o) {
		Vertex v = (Vertex) o;
		if (this.id == v.getId() && this.label == v.getLabel())
			return true;
		return false;
	}
	
	public int hashCode() {
		return new Integer(this.id).hashCode();
	}
	
}
